simplifying expressions with exponents